‫All right, so I want to get something off my chest I need to share with you as a penetration tester,
‫it's really important to be organized while testing.
‫Now, you're probably going to find yourself in an information pool and I don't want you to drown,
‫it contains tons of details like credentials, vulnerable services, target scan reports, and the list
‫goes on and on.
‫So it is absolutely essential to keep track of what you've done on the network.
‫So this is why MSF has an option to cover with extensive support, multiple database systems, so configuring
‫a database to work with MSF will be a real time saver for you.
‫MSF supports Maisky well and PostgreSQL.
‫You can use both.
‫However, PostgreSQL, well, is the default one, which has built in support within MSF, and by using
‫this feature you can easily access scan information, export and import results, use the identified
‫information later on in module's.
‫Then you will also be able to keep your findings clean and well organized.
‫So go ahead and open your terminal again, metastable can use databases to store information.
‫So you have the option to start without a database.
‫But please, for better penetration testing experience, I do not recommend this.
‫So before starting the MSF console using a database, you need to run a sequence of commands.
‫The default installation of Métis Point framework on Colly uses PostgreSQL well, so you should first
‫start PostgreSQL from the Linux terminal by typing in System CTL Start PostgreSQL DOT service and now
‫the next thing.
‫Is creating an initializing the Métis Boik database in PostgreSQL.
‫Well, for this, you can use the MSF Debe command and here is the help screen for.
‫So let's check the database status by typing in MSF DB status.
‫And what comes up is PostgreSQL is running an MSF DB finds a database connection file and the default
‫directory.
‫So if you start MSF, DBI, it will use the information in this file for connecting to PostgreSQL.
‫Well, so I'm going to go ahead and delete that database and let's create it from the beginning.
‫And myself, Deb, the lead for deletion.
‫OK, so now initialization with Mzoudi in it.
‫Then start the MSF, DB with MSF, DB start.
‫Now, actually, when you run MSFC, it will automatically start PostgreSQL, you will, therefore you
‫can only use MSF DB But this is just my habit.
‫So I'll first run PostgreSQL.
‫You will then MSF dbe.
‫And I'm going to run it in quiet mode.
‫OK, MSF consul open.
‫Now, in order to do the database operations, MSF console has its own database commands.
‫So let's type in help database to get a look at these commands and here are some of them.
‫And you can see the names are very clear.
‫Check database status with DB status and Métis Boyte connected to default Ms F3, so you can change
‫this database, you can even create your own and connect to that.
‫And that is going to be our next goal.
‫And now I want to introduce you to the workspace concept and Métis White, it's more like working under
‫a project area.
‫I think so simply type workspace to see the available workspaces.
‫Now, here I have only the default one.
‫The workspace command has a help screen so you can add, delete and create workspaces with abandon according
‫to whatever your requirements are.
‫And the Vickerman will list the workspaces in a verb bowsman.
‫And I'll add a couple of workspaces by using a as my parameter.
‫And here are the workspaces that I have added now automatically, the last one is chosen, as you see
‫here.
‫Now, you can also delete a workspace by using the deep parameter.
‫And let's say you want to change your workspace any time, just write its name after the workspace command.
‫Well, I'm already using pen test for.
‫All righty, then, let's connect that boy to our own database.